using RpgXna.Model.GameManager;

namespace RpgXna.Model.Interfaces.InterfacesManagement
{
    public class InterfaceComponent : IInterfaceComponent
    {
        private readonly IGameStateManager _gsm;
        private readonly int _priority;

        public InterfaceComponent(IGameStateManager gsm, int prio)
        {
            _priority = prio;
            _gsm = gsm;
        }

        public bool IsVisible { get; private set; }

        public int Priority
        {
            get { return _priority; }
        }


        public void Show()
        {
            IsVisible = true;

        }

        public void Hide()
        {
            IsVisible = false;
        }
    }
}